package com.zhongyouyun.lbyc.pojo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.zhongyouyun.lbyc.model.WexinUserModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@ApiModel(value = "WexinUserPogo对象", description = "")
@Accessors(chain = true)
public class WexinUserPogo extends WexinUserModel {
    @ApiModelProperty(value = "修改人")
    private String updateByName;

    @ApiModelProperty(value = "创建人")
    private String createByName;

    @ApiModelProperty(value = "姓名")
    private String trueName;

    @ApiModelProperty(value = "性别")
    private String sex;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "部门ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long deptId;

    @ApiModelProperty(value = "手机")
    private String phone;


    @ApiModelProperty(value = "邮箱")
    private String email;
}
